package com.example.demo.Param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * 添加用户param
 */
@Data
public class UserInsertParam implements Serializable{

    @ApiModelProperty("客户名")
    @NotEmpty(message = "客户名不能为空")
    private String customername;

    @ApiModelProperty("客户电话")
    @NotEmpty(message = "客户电话不能为空")
    private String customertel;


    @ApiModelProperty("客户地址")
    @NotEmpty(message = "客户地址不能为空")
    private String customeraddress;

}
